package com.ruoyi.system.dto;

import com.ruoyi.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UserRateDto extends BaseDto {
    @ApiModelProperty(value = "商品id")
    @NotNull(message = "userid")
    private Long userId;

    @ApiModelProperty(value = "下级点位")
    @DecimalMin(value = "0.01",message = "不能小于0.01")
    private BigDecimal bankRate ;

    @DecimalMin(value = "0.01",message = "不能小于0.01")
    private BigDecimal zfbRate ;

}
